<?php /* Smarty version Smarty-3.0.7, created on 2012-10-09 20:56:11
         compiled from "./_adm/_adm_mct_temp/_adm_right.mct" */ ?>
<?php /*%%SmartyHeaderCode:3155650741eeb56fea6-98209615%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e2813dbb6d7fdb7e7e3031a1c1894c6acf0d972b' => 
    array (
      0 => './_adm/_adm_mct_temp/_adm_right.mct',
      1 => 1347119164,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3155650741eeb56fea6-98209615',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>

<div class="side-col ui-sortable">
			
              <!--  GHI NHO -->  
				<div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
					<div class="portlet-header ui-widget-header">Bảng ghi nhớ</div>
					<div class="portlet-content">
						<div id="accordion">
							<div>
                             <?php if ($_smarty_tpl->getVariable('_gn')->value['gnh_status']==1){?>
                             <form action="" method="post" name="frmGhinho" id="frmGhinho">
    								<h3><a href="#" id="gn_thoigian"><?php echo $_smarty_tpl->getVariable('_gn')->value['gnh_thoi_gian'];?>
</a></h3>
    								<div style="height: 200px;">    								   
                                            <div id="gn_view"><?php echo $_smarty_tpl->getVariable('_gn')->value['gnh_noi_dung'];?>
</div>                                        
    								</div>
                                    <div style="text-align: center; margin-top: 6px;">
                                        <span id="inpGhinho"><input type="button" style="float: none;" value="Sửa" title="Sửa ghi nhớ" class="btn_no_text btn ui-state-default ui-corner-all tooltip" onclick="xajax_ghi_nho(<?php echo $_smarty_tpl->getVariable('_gn')->value['gnh_user_id'];?>
,'edit')" /></span>
                                        <span id="inpDelGhinho"><input type="button" style="float: none;" value="Xóa" title="Xóa ghi nhớ" class="btn_no_text btn ui-state-default ui-corner-all tooltip" onclick="xajax_ghi_nho(<?php echo $_smarty_tpl->getVariable('_gn')->value['gnh_user_id'];?>
,'del')" /></span>                                    
                                    </div>
                              </form>
                              <?php }else{ ?>
                                     <form action="" method="post" name="frmGhinho" id="frmGhinho">
                                        <input type="hidden" value="<?php echo $_smarty_tpl->getVariable('_gn')->value['gnh_user_id'];?>
" name="user_id" id="user_id" />
                                        <div id="ghi_nho" style="text-align: center;">
                                            <p>Chưa có ghi nhớ nào được tạo.</p>
                                        </div>
                                        <div style="text-align: center; margin-top: 6px;">	
                                            <span id="inpGhinho"><input type="button" value="Thêm ghi nhớ" title="Thêm ghi nhớ mới" class="btn_no_text btn ui-state-default ui-corner-all tooltip" onclick="xajax_ghi_nho(<?php echo $_smarty_tpl->getVariable('_gn')->value['gnh_user_id'];?>
)" /></span>
                                        </div>
                                     </form>   
                              <?php }?>
							</div>
							
						</div>
					</div>
				</div>
			<!-- THONG KE -->
				<div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
					<div class="portlet-header ui-widget-header">Thống kê</div>
					<div class="portlet-content">
						<ul class="side-menu">
							
                            <li>Tours: <b><?php echo $_smarty_tpl->getVariable('sta')->value['tong_tours'];?>
</b></li><br />
                            <li>Bài viết: <b><?php echo $_smarty_tpl->getVariable('sta')->value['tong_news'];?>
</b></li><br />
                            <li>Tổng truy cập: <b><?php echo $_smarty_tpl->getVariable('sta')->value['tong_truycap'];?>
</b></li><br />
                            <li>Hôm nay: <b><?php echo $_smarty_tpl->getVariable('sta')->value['trong_ngay'];?>
</b></li><br />
                            <li>Đang online: <b><?php echo $_smarty_tpl->getVariable('sta')->value['dang_online'];?>
</b></li>
							
						</ul>
					</div>
				</div>
                <!-- LICH -->
				<div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
					<div class="portlet-header ui-widget-header">Ngày tháng</div>
					<div class="portlet-content">
						<div id="datepicker"></div>
					</div>
				</div>
			</div>